/**
 * Address.java
 *
 * Enterprise Java
 *
 * Author:  Matthew Braddy
 * Created: Nov 2, 2010
 *
 */

package java113.labs;

/**
 *
 * @author Matthew Braddy
 */
public class Address {

    public Address() {
    }

    private int id;
    private String street;
    private String city;
    private String state;
    private String zip;

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the street
     */
    public String getStreet() {
        return street;
    }

    /**
     * @param street the street to set
     */
    public void setStreet(String street) {
        this.street = street;
    }

    /**
     * @return the city
     */
    public String getCity() {
        return city;
    }

    /**
     * @param city the city to set
     */
    public void setCity(String city) {
        this.city = city;
    }

    /**
     * @return the state
     */
    public String getState() {
        return state;
    }

    /**
     * @param state the state to set
     */
    public void setState(String state) {
        this.state = state;
    }

    /**
     * @return the zip
     */
    public String getZip() {
        return zip;
    }

    /**
     * @param zip the zip to set
     */
    public void setZip(String zip) {
        this.zip = zip;
    }

    @Override
    public String toString() {

        return "id: " + id + "\n" +
                "street: " + street + "\n" +
                "city: " + city + "\n" +
                "state: " + state + "\n" +
                "zip: " + zip + "\n\n";

    }

}
